<template>
  <div style="display: flex; height: 100%">
    <SideBar class="fl" :groupSettings="groupSettings"></SideBar>
    <div class="spare-parts fr">
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    </div>
  </div>
</template>

<script lang="ts">
import SideBar from '@/common/views/sideBar/index.vue'
import { Component, Vue } from 'vue-property-decorator'
@Component({
  name: 'ServiceItem',
  components: { SideBar }
})
export default class Spare extends Vue {
  [x: string]: any
  private groupSettings = {
    service_item: {
      title: '服务项目'
    }
  }
}
</script>

<style lang="stylus" scoped>
.spare-parts
  width calc(100vw - 262px)
  height 100%
  flex 1
  padding-left 16px
.navMenuState .spare-parts
  width calc(100vw - 314px)
</style>
